package controller;

import entity.User;
import service.UserService;
import service.impl.UserServiceImpl;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.lang.reflect.Method;

@WebServlet("/product")
public class ProductServlet extends BaseServlet {

    private UserService userService = new UserServiceImpl();

    private void findOne(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException{
        System.out.println("product findOne...");
    }

    private void findAll(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException{
        System.out.println("product findAll....");
    }
}
